package com.yunhe.java.pro07.jicheng;

/**
 * Created by Administrator on 2017/7/31 0031.
 */
public class AnimalTest {
    public static void main(String[] args) {
        Rabbit rabbit = new Rabbit();
        rabbit.name="小兔子";
        rabbit.eat();
        Tiger tiger=new Tiger();
        tiger.name="小老虎";
        tiger.eat();
        tiger.sleep();
    }
}
